added glob support in generic makecp block