fixed shmr.py - it works :-)