refactoring, now lookup command with order: fullpath,desktop,syspath