refactoring; fix sh shellcheck warnings
refactoring; fix sh shellcheck warnings

cyber-dojo/runner,cyber-dojo/runner_stateless,cyber-dojo/runner_stateless,cyber-dojo/runner_stateless,cyber-dojo/runner_stateless,cyber-dojo/runner_stateless,cyber-dojo/runner_stateless,cyber-dojo/runner,cyber-dojo/runner_stateless