fix bug when swapping child node pointers
started to implement script node parser