modified datasource to switch environments