sensor environment setup