Curl crap

tested and everything seems to work fine