Added a check for what to do after variable are set for a range
Merge branch 'master' of github.com:mantidproject/autoreduce