Added Optimizations to AppConfig