Reenable input for terminal commands
log and mlog command (without filtering yet)
Added server side shell memory and fixed env usage