swapped the slashes for parsing out hook file