Fixing iitc script bug