implement global slot
split module for reading and running sections
add option to output summary of summary