Potentially fixed problems in prediction implementation. Program running two parts of command.