add viewer script

Change-Id: Ibc8cd36c995c4ae219ab8a212dea9058f37dfcd4