sends params to config