Run script On Load of application?

Run script On Load of application?

Hi! I would like to run a script when the application loads. If this is possible, how do I accomplish this?