added HADOOP_CLASSPATH and changed parameter order