adding main viewer to bash