reeingeering deployment scripts