created auto detection of OS so installer can be auto loaded