fix deployment script