Slightly better configuration setup. Added option to dump a fresh configuration in case of trouble