add tempdir, pendingdir, datadir, s3