adds load and globalize functions