What is the version of the following sentence with correct punctuation?

Whether when in flower or as spherical fruits black elder umbels are best harvested with a pair of scissors by cutting them off right at the bottom of the stalk Before using them in the kitchen remove the brown flowers and shake off any insects
Whether when in flower or as spherical fruits, black elder umbels are best harvested with a pair of scissors by cutting them off right at the bottom of the stalk. Before using them in the kitchen, remove the brown flowers and shake off any insects.