#140 improves cortexM script, #142 moves dest dir for summary and log files to avoid deletion, #77 minor changes