Use post-install hook instead of extension