output path can be passed as argument, fixes #3