Update code to create windows service config