Fixing the console app.