use getos
various tweaks