This running of main seems to be in a lot of places. Should we just always run the script (put it in the requireJS setup)?