Extracting the user agent for reddit API calls into a config setting