moves external data source variable to index