Added curl option

Localhost don't work curl
$curl = false in line 48 fixes