Added cmdGetVar
[1.4.2] Changed settingsFile directory code