add midi_dir to config file