Removed old code
Application now terminates at 22:00