refactored scripts; now loading settings based on operating system.