#217 modified console to use the new api