Removes JAVA_HOME export
Includes node attributes
Reverting setenv.sh to sed
Fixes setenv.sh template
Fixes template reference