restart hook