pass the correct data directories to the python script