enhancements to memu builder
fixes for security model