Update PreApplicationInit.cs