mik-deploy: Add deployment check to user recipe and change usage of global variables.