Rework the example to use user_dirs instead of user_apps.