You'll need to cast it to an int when using an env var.