Script and patch files