adding security check to rmt config