Fixing pathes, rotation and issue #47