Fix deployment: permissions, bundler