adding extract coordinates script