changed socket a bit (no more \r)
updated download files