Move checking of deployed to command