populate cache script