loading data in separate script