Updated to accommodate for Windows PuTTY users