removed the local section of the deploy script to make it simpler