Removing wget and replacing by curl