Added the beggining of console hooks