fixed deployment script