fix permission on new build script