added ability to specify request options via config