adds annotation and data directory.