fixing sh script parser