allow :mode and :interpreter to accept a string

Fixes #72.