Add configuration for res