refined experimental script for mahout