writing script for recursive insert: #MSG-82  in progress