separate module hooks file