grab_links script improved (now it is useful).