fixed some issues with the extension so it is more compatible with the extension warehouse