Fixed dep ordering for ups monitoring generation