Updated to try and resolve insertion issues.

Updated script and stuff to remedy issues.