fix deployment scripts