adjusted FFPred scripts