Add -d option to display command that was executed