switch to deploy mode