Added option to disable executing commands for dependencies.