made make_manifest more portable