test for presence of config query params before trying to use them