add method for getting config file when curl installation is performed