Did some scripting