Add global variables for db connection