Various file managing / training script updates