changing grounding script and partial tree creation
 changes