including DB template if called from within AlignmentPipe