make return of commands scriptable