FTC Autonomous help wanted.

We do everything from scratch, not using the templates. We’ve been able to program an autonomous mode that we can run manually on the NXT. How do we get the robot to recognize the autonomous mode and run it on the feild during a match.