[IMPROVE] sh scripts

and remove everything about shmem