finished config and command implementation