replaces static content with config variables