Pass in datadir to be sure to run in the right directory