From religion to doubt, via Hollywood: Musings on my unheralded writing career