added some checking to ensure nodes where on, but then it fails because of order of operations due to the lack of any real plugin dependancy system - damnit wordpress!