adjust ksr linux scripting