use subdir for atlas