use config variables in request