Add phpcs into build.
Use background for index creation.

This is the only way to create indexes safely while in running production.