making config for restc