Fixed Path issue, updated version

Fixed a couple of bugs. Thanks, Matthias! :-)