I do have an if(Retrain) statement in my code. I'll try commenting out that part.

Thanks