Modified make_setup_file_emg.py to save .LOG and .ERR files based on current working directory, not a hardcoded directory