Add main hook for bundle