fix path and settings for train scripts