Script: simplified couple of operations in ccInstance::Run()