swapped to switch for command selection, aws provider