Made console functional