Fixing user output code
Merge branch 'master' into gh-pages