user-friendly behavior when run as a normal application