Added a check to see if the project is read only