Update from library to console app