Using as console app