Automatic script not picking up links to GRID files