Add level event scripting