Fixed Console output script

File input script still blows up!