Setup_db amendments and main loop fix

Merge request reports

Loading