Extract readRunProperties function