remove final traces of PasteScript