code: private void executeGalaxyScript(final String scriptName) {
      final String bashScript = String.format("cd %s; if [ -d .venv ]; then . .venv/bin/activate; fi; %s", getPath(), scriptName);
      IoUtils.executeAndWait("bash", "-c", bashScript);
    }
docs: Executes a script within the Galaxy root directory.
  @param scriptName  The Galaxy script to run.