There is an excellent Powerpoint presentation on many aspects of programming the new controllers at:
http://www.usfirst.org/robotics/C_help.htm
It includes a section describing where you insert autonomous code. You should be able to simply copy the code you have and insert it into the autonomous section of user_routines_fast.c.