modified how array facilities are added back to the tree
modified how new statements are added back to the tree
modified how new imports are added back to the tree