Adding in clinical file generation, more configuration