Fix extension to work when no config is given