Refresh data script now working.