Added functionality to choose which autonomous mode will be run.