hook updates

Change when load is called
Added two hooks: addtab, removetab