Control of scripts