fixed bug that pulled all data from the sgp site rather than the input location