Fix docroot for hooks