Added console listener