Closes #41 by checking that the console exists