script for downloading data from x center