How can I use variables to automatically add information to a contract?