Note that scripts should be idempotent.