refactors dev-hit trigger.