adding predictor script