have referrer as part of config