minot mods to pf script