updated codeiq sample script