debug the MapReduce script