Adding 5k/10k into half marathon program

I’m looking at the 16 week L1 half marathon program and want to add a 10k in August (either week 10 or 11) and maybe a 5k earlier.

When in the program would it be best to add in those races and how should you modify those weeks to incorporate the races?