some fixes for arch-less scram and scram db command