Add run-hook option