Merge "Update the apf_run function call to match the latest signature" into main