publish: Intermediate HTML pages document if in use
Updating publish to make Samples and Transforms
Fixing publish script