added ubuntu functionality