reverted to travis friendly calculate_scores.R