Make uninstall call hooks in the right place
Determine hook name based on current script name