added option for recompiling trainingsdata