change vote weight to env variable