Tweaked the Config function to avoid private variable warnings