Fix voting script