Why is this file necessary onload? Can it just be loaded from the panel instead?