setmetatable(_G,{__newindex=nil})
if _G then
    _G.started=_G.started or false
else
    started=started or false
end
if (_G and not _G.started) or (not _G and not started) then
    if term.native then
        term.native()
    end
    term.clear()
    if _G then
        _G.started=true
    else
        started=true
    end
    local file=fs.open("/magiczockerOS/core.lua","r")
    if file then
        local content,err=loadstring(file.readAll(),"/magiczockerOS/core.lua")
        file.close()
        if content then
            local ok,err=pcall(content)
            if not ok then
                if err and err~="" then
                    error(err,0)
                end
                return
            end
            return true
        end
        if err and err~="" then
            error(err,0)
        end
        return
    end
    error("/magiczockerOS/core.lua: File not exists",0)
end