Make global variables automatically selectable