Add make-attr-dynamic-script to create dynamics with text before/after the dynamic