updated get_prod_dump function