Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
This card is Level 4 while in face-up Defense Position.
--シャインナイト
--Shine Knight
local s,id=GetID()
function s.initial_effect(c)
	--lvchange
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetCode(EFFECT_CHANGE_LEVEL)
	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCondition(s.lvcon)
	e1:SetValue(4)
	c:RegisterEffect(e1)
end
function s.lvcon(e)
	return e:GetHandler():IsDefensePos()
end