better a2* scripts

For #165
Should also help some things seen in #158, etc
this looks like a merge conflict that did not get cleaned up?