regroup variables on top

This makes it more obvious what this will do, and sort of hide the
boilerplate below.
2 jobs for main in 2 minutes and 30 seconds (queued for 1 minute and 16 seconds)