Added the option to add extra parameters to curl in settings.php