share lib/extensions folder on hook start
use recursive call for loading all the library files