* Move DB loading to the end