Allow passing a working directory as option