changed how npcs are loaded