Added multiproject support to cpd plugin