set up config for server