scriptmgr: fix ~ expansion
scriptmgr: give -nH args to sudo