Added comments around config setting/overwriting logic