Update paths and installation instructions
Fix a bug and add example