before placement of dyn scripts