Updated name fetching script