move AH_TEMPLATE.