updated to load web config only once to prevent scheduled tasks from running twice all the time