Program exiting properly now