switching from os.version to os.name