A set of commands that run as a single piece of code. A script named "main" is required in the profile.xml file for the profile to execute. It is called every time the profile iterates and is the starting point for profile actions. The run command can be used to call scripts from any other script. With large projects, scripts can be placed in external .xml files located in a folder inside the profile folder and are included in the profile with the import command.