Adds config start-up hook for database connection