Correcting issues

Correcting and improving some inserting lines in the Inserting Script
file.