version 0.03 - added support for reading a config file