Fixed bug because autoexec.cfg is not reexecuted on class change.