Adding insertion script; partially working