Move scripts to entry points, and use Click.