If statements catch some common errors

For example: you can't run one step if the previous hasn't worked out.
So this script now just prints the file that it is missing to the screen
with an error message.