refactor setup script
Merge branch 'gh-pages' of https://github.com/unclebean/hugh into gh-pages