Changed name of function genProductionFiles to updateProductionFile to reflect its real functionality