Added support for inline replacements when no output file is set