adding run hooks