Added node behaviour script

shuffled some things about as well