Updated for startApp