fixed SaveCommand to change study.cfg