changed to deploy mode