Deployment script should now correctly stop previous instances