Using process.platform insted of os.platform()