added a button to copy base variables