Split flash script into a 'get build' and 'flah