Added template tag for dynamic function