Add sensor name retrieval to globals