Here's the script that used when your compiling the animation. You can use this one if you wish, but don't forget to change the (Character) and (Animation) parts.
Griff wrote: // defining the upaxis is needed for maya exports
$definevariable infoNode "(Character)Info"
// include the file that sets up the ikchains
$sequence (Animation) "(Animation)" snap fps 30
Thanks for reading