now uses sys.platform instead of platform.system