I set up a huge array to check for the main variables I could find. I had hundreds of hours in the project. Will have to dig up my code one of these days.