Added HookActivity for integration of external SDKs