adding plugin parsing code