Jeri Ryan to guest star in Arrow season 4