improve default activate hook actions to play nicer with other plugins