curl using config file