Added set-external-options action; small improvements.