Only hook on modified files