Final scripting