add default flag to variables. closes #6