Added source code for script from commit d0e46c4. Lost source code from commit 0276d31 which handled when only 1 OS was available for a particular simulator.