Started life as a scene which was cut from Neil Gaiman's The Doctor's Wife (2011) before being adapted into a comic story drawn by Mark Buckingham for "The Brilliant Book 2012" and finally it was turned into a mini-episode.
First released as part of the "Doctor Who: The Complete 7th Series" DVD set.