Fixing offline mode

ITCAP offline mode fixed
Merge branch 'master' of https://github.com/hanlonal/CSE4982013