add checks for windows