Need to use temp files to step thru sed replacements