Fixed bug which didn't use config file name for client