Updated permissions on build script