Fixes prepublish script.