added support for older versions
fallback to bash when gremlin fails to start