allow setting overwritge flag using configuration file
configuration read improvements