foolshell and syscalls improvememets