Setting up for scripting.