shell: added a handler for mersenne twister