This duplication of OS and MODEL deduction is getting on my nerves. We have it in at least three places already. Any ideas for a good place to put this code?