smart include hook urls

include the hook url if found, else disable link