a couple tweaks to to fix updatepao.sh