Removing extranious inlcudes in curl plugin files