Ubuntu changes to postinstall.sh