A computer-implemented method of generating a lighting script for a piece of video content , the lighting script for use by a lighting controller to control at least one luminaire to render illumination effects, as the video content is outputted in a space illuminated by the at least one luminaire, synchronously with the outputting of the video content, the method comprising executing a scripting application on a computer to implement the following steps: processing frame image data (F) of the video content to determine at least one colour palette (CP) of the frame image data; controlling display apparatus of the computer to display to a user of the computer a sequence of illumination effects to be rendered during the outputting of the video content, wherein the displayed sequence conveys at least one illumination colour derived from the determined colour palette to be rendered in at least one of the illumination effects; receiving from the user via user input apparatus of the computer at least one effect modification instruction, and modifying the displayed sequence of illumination effects according to the received at least one instruction; and generating a lighting script for use by the lighting controller in controlling the at least one luminaire during the outputting of the video content in the illuminated space to render the modified sequence of illumination effects, wherein the processing frame image data step comprises determining a respective colour palette of each of a plurality of segments (s1, s2) of the video content; wherein the displayed sequence of illumination effects comprises a respective illumination effect for each of the segments of the video content, and conveys to the user, for at least one of the plurality of segments, at least one illumination colour derived from its respective colour palette to be rendered in its respective illumination effect. processing frame image data (F) of the video content to determine at least one colour palette (CP) of the frame image data; controlling display apparatus of the computer to display to a user of the computer a sequence of illumination effects to be rendered during the outputting of the video content, wherein the displayed sequence conveys at least one illumination colour derived from the determined colour palette to be rendered in at least one of the illumination effects; receiving from the user via user input apparatus of the computer at least one effect modification instruction, and modifying the displayed sequence of illumination effects according to the received at least one instruction; and generating a lighting script for use by the lighting controller in controlling the at least one luminaire during the outputting of the video content in the illuminated space to render the modified sequence of illumination effects, wherein the processing frame image data step comprises determining a respective colour palette of each of a plurality of segments (s1, s2) of the video content; wherein the displayed sequence of illumination effects comprises a respective illumination effect for each of the segments of the video content, and conveys to the user, for at least one of the plurality of segments, at least one illumination colour derived from its respective colour palette to be rendered in its respective illumination effect. <EOS>