Finished up last bit of scripting