Moving chmod before npm install