shm - fixed some $SUDO variables