updated processor to use the new command handler wrapper functions