MR python scripts for Crossbow preprocessing stage