Adjusted permissions in deploy script