Tweaks to sgLoader