updates to survey readout script, done with a tutorial