code: def profile_settings_args(self, ij, required):
          
          if self.args.permutation_id is not None:
              if 'sqlite3' not in sys.modules:
                  print('The sqlite3 module needs to be build-in to Python for this feature.')
                  sys.exit(1)
              profile_args = self.profile_settings_args_layout_json(required)
          else:
              profile_args = self.profile_settings_args_install_json(ij, required)
          return profile_args
docs: Return args based on install.json or layout.json params.
  
          Args:
              ij (dict): The install.json contents.
              required (bool): If True only required args will be returned.
  
          Returns:
              dict: Dictionary of required or optional App args.