Minor adjustments

Escape characters in footer for sed to process