Add buildProduction hook