Added hook.cs