Add function load extension