tooling and cli scripts update

Literally the exact same as the wp8 scripts (except for a few name changes) I was surprised that they worked. But it definitely saves a lot of work if we can keep them the same.