added connection to master database for use with multiple festivals