fix variable names in exploratory script