Add registerVariable function that allows you to easily add variables to be set at the console