he then dedicated to writing as novelist and scriptwriter