Set default target on database creation and read that data in the main loop rather than the controller loop