add config file suppport