Move client-specific script execution to `case` construct

Abandoning `if` construct.