Before deploy appdeploy