Updated to support new local SQL instance, new database objects and default parameters