Refactored and added deploy_only to DDL.