updates to allow dynamic addition of static directories provided by plugins