get savehooks working properly, hopefully