Add lua code to change transparency

Add lua code to change transparency according to the option selected in
the /bpf configuration