I don't understand here.
OS=$(uname -s) is done before, why execute twice this command ?