fix deployments scripts