Making terrible scripts less terrible since 2014