Allow to specify target directory. Closes #14