Making it run on Hadoop