added new commands Type, Print, ignore, and discard