creating script for config server