making predeploy script run before disable services