Fix datasource based on environments