This should only do things if the `-d` option is set.