corrected initial bugs in pscmd - attribute number for name, and python types