Programming Skills Routines cut off after 15 seconds

I have been trying tot test a programming skills routine, but it keeps cutting off after 15 seconds, which I presume is due to the 15 second autonomous timer during normal matches.

Is this due to being plugged into our competition switch?
I wrote the programming skills routine as a task which I call during autonomous.
I tried adding the "autonomousduration(60) flag at the top, but this did not fix the issue.

Should I be writing our routine as just a normal file with a task main()?
Do I use the competition template?

Thanks.

What are you using to program? RobotC? PROS?