fixed build script permissions