Fix cached-bundle script current directory issue