minor: making a directory before trying to write files to it
bootstrapping: generate meta.yaml always.
bootstrap: making bootstraping more effective