edits to bulk inserts and scripts