rearrange paget template to support better branding backgrounds