init curl