Build after preparing database