fix inserts when actually escaping
improve scripts
test returning for insert