Add -d option to print the command that was executed.