fixups for logging of ctrl script