added ubuntu detection code