Adding new mode for pub run.

BUG=
R=nweiz@google.com

Review URL: https://codereview.appspot.com/147200043