adding sudo mode to deploy script