A script to automate ROM fixup