Cleaned up install hook.