Version 1 (functional script)

Fully functional script; readme incomplete; no codebook