Make setup script idempotent.