sq to setup-sdk.sh - fix sudo needs detection