fix the linux scripts