Fixed insert script.