Deployscripts fixing