curlopts properly added