Modified to submit both setup and loop

Modified to submit both setup and loop. Loader needs to be modified to
accept new commands