updated config-overwrite with more modern methods from n9