quick rearranging

Forgot the single quotes.
Moved the command most likely to fail to the end.