reworked the required variables story to provide better error messages
Merge pull request #1518 from naylor-b/required2

reworked the required variables story to provide better error messages