fixes to mrjob script - should be stable now