Added user agent checking for destination