This commit unifies the templates for rebuild and provision as they are nearly identical.
This commit adds support for the "Content-Security-Policy" header in the barrel images.