Migrate 3 legacy scripts to entry points.