Added Ground Detection switch