The Flash alum Robbie Amell has been cast as the male lead in Upload, Amazon’s high-concept single-camera comedy pilot from The Office creator Greg Daniels.

Upload is set in the future where humans are able to “upload” themselves into their preferred choice of afterlife. When Nathan (Amell) meets his early death, he is greeted by Nora in his version of heaven. The series follows the two as Nathan grows accustomed to life away from his loved ones, and the alive Nora struggles to stay afloat working her job alongside Nathan in the afterlife.

Amell was the lead in the CW series The Tomorrow People and played Ronnie Raymond/Firestorm/Deathstorm on The Flash, sharing the CW’s DC universe with his cousin, Arrow star Stephen Amell. He also did an arc on Fox’s The X-Files revival last season. Amell is repped by WME, Protégé Entertainment, Coast to Coast and Felker Toczek.