script out

Verb

 * 1)  To simplify or automate a process using scripts ( a file containing a list of user commands, allowing them to be invoked once to execute in sequence).
 * You could finish this quicker by scripting it out.
 * 1)  To create a script of (something) (the text of a stage play, movie, or other performance).
 * Improvising isn't working, let's script this out.