Update permission gen for gen 0.17 and fix that created manifest.json
0.2.11