Modified the application flow.