Do some sanity checks when running the command, to make sure we can continue