improved settings, now using json for automated conversion