Bugfix for command calling and config loading