"puts $out..." error corrected (linux only)