I like the lottery, but right now, it is flawed. It should be just the worst five teams in the lottery. The worst team getting the best chance to get the top pick. When some team that barely missed the playoffs by one game or is in a new/top market gets the top pick, people immediately call shenanigans. This way, it limits it to the bottom five only.
Most importantly, though, the ball selection should be live. Put in say 30 balls for the worst team, 25 for the next, then 20, 15, and 10. The first ball picked gets the first pick, second gets second, and so on.