[IMP] port to new api
[FIX] clean production_from_configuration