adjust ksr linux scripts