Addednodes

Added nodes
project files
export script adjusted
It's removing half of my material. 52+ nodes to be exact.  
And I still have to manually comment out the output node.