make it possible to use relative output dir closes #205