improvements to command filtering, alias creation