corrected Linux script