Updated anti spam measures and fixed sudo command