Added error checking in CUPE defaults
Merge branch 'master' of https://github.com/hanlonal/CSE4982013