added predictor script