updated script to pull down coordinates