Making sure we are in the correct directory for hooks