shmx script