added argv for passing config file