updated external hooks call... works for me :)
added support for google protocol files