Forgot to double-wrap the conditional for KeepAlive, to handle both string on/offs and booleans