Improved standalone sample
Updates to web page sample
Build insertion of $variables into HTML pages