add read_only config