add after_usr1 hook