fixed in a way that multiple run won't keep create duplicate config line...

modify in a way so that multiple run won't generate duplicate lines in config files.