added var printing scritp