added multi curl support