make sure the set command can set one or several hooks