Made the program work with both windows and linux