Update example.md
Path cleanup

- Remove unnecessary path code
- Set res_path to none if not already set