Try not to break too much stuff

Check if console exists, try not to break too much stuff