Changed icon check method to lookup_icon