Fixed script binding runtime exceptions