Changed repeated echos to an EOF read. (FIXES)