add shebang, escape formatting character