Added curl support