various changes and support for ubuntu servers