updates for Ubuntu compatibility