Remember what init scripts were chosen.
Move z cache file into caches/z subdir.
Reorganize init code substantially.