fix name of hook, move things in contrib folder