Made changes to restConfig