Added some functions to Incubator to plot image and pass directly to the templates