console app now emulates batch run