Check opts before using it
Use _inject-config-path to do dependency injection