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.
Change another way to capture return value of grep in next commit.