Make script idempotent if CD already exists