added os.chdir() call on GLSetting.working_path