Got it to work on Windows but prints out output it shouldn't