change from using eval to using json to load settings