Scripting science