Added parameter to getUserAgentString