making copy script
Working on cpdocs
Some more before bed
Synch
Merge branch 'master' into cpdocs

Synch with updates on the gh-pages and master which was merged together.
Remove whitespace
Update study docs. Editorial in cpdocs.py