new script, outliers in year, date changes, clean trainSource logic