Modify mega for variable-name change