Made LocalSettings less local, and work in both local and prod