minor changes to scripts (tested with dragonboard ssh)