incorporate changes to run on cluster; remove debug line from reducer script