update script to m3-ish

BUG=

Review URL: https://chromiumcodereview.appspot.com//12386098