fixing deploying scripts