Allow to add extensions on multiple target

Hi,

Just a small tweak to be able to add extensions on multiple target thanks to multiple tags