not wrapping as main anymore (must still include mains) first part of #11
move sources and include exit code and stdout in filename