added error message for attempting to make changes in read only mode