Change deploy script to work around permissions issue