tweaking dependencies to use sed or grep+head