Added option for dry run.