Updated collision State script.