added config file can be set by -config paramter