Get NUM_INSTANCES from env var

So the git repo doesn't get dirty...