Adapted env.sh to my machine
Made pin 8 a trigger pin and made the measurements more frequent