Add ability to specify target directory (instead of just home dir).