Added replace directives, and created bash code-blocks.