fix missing script on commands
from and to mmap functions