These are the parts for the sill set-ups for the regular sills, the pure excellence & pure experience sills, the M sport pkg (S715A M Aerodynamics package). Its not just the running board you'd need to replace for the M aerodynamics pkg...it also has the extended wheel arches. If you click the following link to the part database...you'll see that there are multiple part nbrs for many of the items in the illustration that covers the differences in option pkgs etc:
https://bimmercat.com/bmw/en/search/...5i/USA/51_9438
These are the parts if you have the running boards:
https://bimmercat.com/bmw/en/search/...5i/USA/51_9442