spriteLayers in 4.5?

On the aw Homepage there is a spriteLayers.mel script.
But it seems to be only working with Maya 3.0 It's a rather short and easy script, but the command " layerbBarAssignObjects" doesn't work in 4.5. Any idea how to change the script ?

Thanks for any suggestions !