curl script for loading data