Fixed BundleConfig to enable opimizations