add support for config file for client