add option to run in a given directory

Comes in quite handy in some circumstances