Added the hookswitch