Born into a family of doctors, he followed the traditional path into medicine until he met with producer
Andrew Macdonald in 1990 and completed the screenplay for
Shallow Grave (1994). He returned to medicine again briefly following the release of the film, but then returned to screenwriting with
Trainspotting (1996).