Added aff custom template