Making installation script idempotent, so we can re-run it