using process.platform instead of os.platform()