Using last part of path as app name