inserts scrip fixes