fixup new/old custom script