prepare a global generation
Absolute path for data dir