add checking for # sign in conf file.