Added polyfill
Added normal console flow