Fix for config

Not sure how this even worked for me before! But need to create a local instance of configuration.