Fixed how autonomous command is run.