Fixed bug that was producing an incorrect path for the external hook.