eliminate run-away linefeeds when attempting to read script file