--- title: "The way to change a build file and environment variables of a scenario" slug: "the-way-to-change-a-build-file-and-envrionment-variables" updated: 2024-01-11T00:04:14Z published: 2024-01-11T00:04:14Z canonical: "help.autify.com/the-way-to-change-a-build-file-and-envrionment-variables" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.autify.com/llms.txt > Use this file to discover all available pages before exploring further. # How to change the build file and environment variables in scenarios and step groups If you want to change the ***build file*** or ***environment variables*** in a scenario or step group, you can do so by specifying the desired build file or environment variables on the re-recording screen. See below for detailed instructions. ## How to change build files 1. Go to the target scenario or step group. 2. Select ***[Record here] or [Record here without replay]***. ![change_build_EN.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/change_build_EN.png?sv=2026-02-06&spr=https&st=2026-11-07T12%3A20%3A25Z&se=2026-11-07T13%3A20%3A25Z&sr=c&sp=r&sig=ecG%2FeMVg%2F4qEW37sZWHtfqZ%2BXeatGZMOh%2FlJfpJu5HU%3D) 3. The *Select build file* dialog appears. Select the appropriate build file and click ***[Select]***. ![change_build_EN2.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/change_build_EN2.png?sv=2026-02-06&spr=https&st=2026-11-07T12%3A20%3A25Z&se=2026-11-07T13%3A20%3A25Z&sr=c&sp=r&sig=ecG%2FeMVg%2F4qEW37sZWHtfqZ%2BXeatGZMOh%2FlJfpJu5HU%3D) 4. The recording screen appears. If you don't need to re-record, click ***[Save]***. 5. Check that the correct build file is applied. ![confirm_build_en.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/confirm_build_en.png?sv=2026-02-06&spr=https&st=2026-11-07T12%3A20%3A25Z&se=2026-11-07T13%3A20%3A25Z&sr=c&sp=r&sig=ecG%2FeMVg%2F4qEW37sZWHtfqZ%2BXeatGZMOh%2FlJfpJu5HU%3D) ## How to change environment variables 1. Navigate to the scenario or step group. 2. Select ***[Record here] or [Record here without replay]*** to open the *Select build file* dialog. 3. Click the ***[Set environment variables]*** button in the lower left corner of the dialog. ![change_env_en1.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/change_env_en1.png?sv=2026-02-06&spr=https&st=2026-11-07T12%3A20%3A25Z&se=2026-11-07T13%3A20%3A25Z&sr=c&sp=r&sig=ecG%2FeMVg%2F4qEW37sZWHtfqZ%2BXeatGZMOh%2FlJfpJu5HU%3D) 4. Specify the expected environment variable and click ***[Select]***. ![change_env_en2.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/change_env_en2.png?sv=2026-02-06&spr=https&st=2026-11-07T12%3A20%3A25Z&se=2026-11-07T13%3A20%3A25Z&sr=c&sp=r&sig=ecG%2FeMVg%2F4qEW37sZWHtfqZ%2BXeatGZMOh%2FlJfpJu5HU%3D) 5. The recording screen appears. If you don't need to re-record, click ***[Save]***. 6. On the scenario page, click ***[Environment Variables]*** to check that the correct environment variable is applied. ![confirm_env_en.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/confirm_env_en.png?sv=2026-02-06&spr=https&st=2026-11-07T12%3A20%3A25Z&se=2026-11-07T13%3A20%3A25Z&sr=c&sp=r&sig=ecG%2FeMVg%2F4qEW37sZWHtfqZ%2BXeatGZMOh%2FlJfpJu5HU%3D) Note that changing the build file of a step group will not be reflected in scenarios. Please update the build files for both step groups and scenarios as needed. If you have any questions, please contact Autify support.