Added bug fix for config properties being stripped out by saveConfig function