A tool for generating lab reports using templates