Small updates to the keep alive script

Two simple changes, both outlined with details in each commit message.