Removed wait for input at end of program