Making it so that all config can be provided via task config

Why? It's static data. No need to initialize the variable every time the function is executed.