script to record headquarters
Exit codes are coming up from docker, which is a bummer, so I added in
an explicit output coding string.