added hr backup
added funct to email if no premia file available