User scripts cleanup for ControlInput events