Defined VIEWER variable
Added few environment variables