I decide what goes in and out of the nucleus. I protect the genetic material. What am I?

-rough ER
-cell membrane
-nuclear envelope
-nucleolus
-smooth ER