analyze saves and prints an output figure
added directories and move created files to these directories