[PD-dev] [flext] how to call the right setup function