added back windows/linux check