modified plugin templates