Break workflow down into a few fns
Add logging
Merge branch 'master' of github.com:itmat/PaGE