Added some Windows code for writing the user creds. Don't know if this will work
Added a parenthesis *facepalm*