An simple macro plugin