Added check if curl is enabled