Add compatibility with commands and config.js