Fixed Scripting Error