trainin script change