Externalize scripts to update