Added flowchart, fixed paths