Script prepared for Hadoop 2.0