ignore keys and hooks dirs