Check for OS as function, for now only Ubuntu is supported