more variable passing for UAC and messaging

all done now.