Use context/type in script_fixup