Handles the non-web application