Add logging to the main script. It got lost in a merge.