initial support for a config file
improved strstripped