Update for Nightly Script Import

All updates now in stored procedures.