Will only attempt repopulation of switches if there switches need to be changed
Validate startup array references
Add db_ping function
Check if the database is alive before loading into database
Refactor color usage on the command
Will not attempt to repopulate db if if database is down