Fixing bug in issue #7. Paths for diagrams are now relative