removed specification of data-dir because didn't work--happens too late