Add mostwanted template database connection and filters