Various script command work and tweaks

Brought some admin commands to "working" status but most are untested.
Will probably not compile but next step is making it do so.