Now fully backwards compatible with global vars and check-options.