Changed handling of bash out file