Finalize console app