the episode was written by matt selman and directed by mike b anderson