Add scriptlets to the database and actually execute them.