Fixed minor scripting mistake