Added user agent support in optimizer, added better user agent strings