updated echoed input to match re-arranged input files