# .First

If you create a function called `.First` and put it in a TERRprofile file, or if it is saved in `.TERRData`, then it is run as part of the TERR startup.

Note: the `.First` function is included in the startup options for backward compatibility only. We do not recommend using it.

If you override running TERRprofile using one of the command-line options, and you have defined `.First` in TERRprofile, it is not run.

If you include a `.First` function, be sure to test it to ensure that it works as expected to have it execute in subsequent sessions.