Moves the promisify exec function outside the render method for clarity and potential reuse, improving code structure.