Fix performance problems; run the commandline during build.