Merge "add a read only flag for demo" into main