Please help makeRoll script also roll in Y axis


The makeRoll mel script that comes included in Maya only rolls the object along X and Z axis - so an imaginary plane.

How would I need to change the expression / script, so that it would also roll objects in the Y axis?

Many many thanks!