inserting debug script