More work on the deploy command