Tape Eject Script

We just recently upgraded to NBU 5.1 from 4.5 after the upgrade we noticed that our eject script that was working is no longer working properly. It will eject 4 tapes and then quit. In the past we were able to kick it off manually but now were forced to do it via cron job. I'm not a script writer so I'm not sure what is going on any help would be great to show me what has happened. I can either email the scripts to you or if this site allows I can post the 4 part scripts here.
Thanks
Roy