updated env_collector to take compass data as well