run legacy style hooks for compile provider