text: """
  ---------------------
  LocatorDelaySystem
  Support Service V1.1X
  ---------------------
  """
  
  import json, getpass, os, time,urllib,os,sys
  from time import gmtime, strftime
  import datetime as dt
  from maya import mel
  import maya.cmds as cmds
  
  def formatPath(path):
      import os
      path = path.replace("/", os.sep)
      path = path.replace("\\", os.sep)
      return path
  
  mayaAppDir = formatPath(mel.eval('getenv MAYA_APP_DIR'))
  scriptsDir = formatPath(mayaAppDir + os.sep + 'scripts')
  projectDir = formatPath(scriptsDir + os.sep + 'BRSLocDelay')
  presetsDir = formatPath(projectDir + os.sep + 'presets')
  userFile = formatPath(projectDir + os.sep + 'user')
  configFile = formatPath(projectDir + os.sep + 'config.json')
  
  
  filepath = cmds.file(q=True, sn=True)
  filename = os.path.basename(filepath)
  raw_name, extension = os.path.splitext(filename)
  minTime = cmds.playbackOptions(q=True, minTime=True)
  maxTime = cmds.playbackOptions(q=True, maxTime=True)
  referenceList = cmds.ls(references=True)
  nameSpaceList = cmds.namespaceInfo(lon=True)
  
  userData = json.load(open(userFile, 'r'))
  data = {
      'dateTime' : dt.datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
      'timezone' : str( strftime('%z', gmtime()) ),
      'year' : dt.datetime.now().strftime('%Y'),
      'month' : dt.datetime.now().strftime('%m'),
      'day' : dt.datetime.now().strftime('%d'),
      'hour' : dt.datetime.now().strftime('%H'),
      'email' : userData['email'],
      'user' : getpass.getuser(),
      'maya' : str(cmds.about(version=True)),
      'ip' : str(urllib2.urlopen('https://v4.ident.me', timeout=5).read().decode('utf8')),
      'version' : userData['version'],
      'scene' : raw_name,
      'timeUnit' : cmds.currentUnit(q=True, t=True),
      'timeMin' : minTime,
      'timeMax' : maxTime,
      'duration' : maxTime - minTime,
      'lastUpdate' : userData['lastUsedDate'],
      'used' : userData['used'],
      'isTrial' : int(userData['isTrial']),
      'days' : userData['days'],
      'registerDate' : userData['registerDate'],
      'lastUsedDate' : userData['lastUpdate'],
      'referenceCount': len(referenceList),
      'nameSpaceList': ','.join(nameSpaceList),
      'os' : str(cmds.about(operatingSystem=True))
  }
  
  url = 'https://hook.integromat.com/gnjcww5lcvgjhn9lpke8v255q6seov35'
  params = urllib.urlencode(data)
  conn = urllib.urlopen('{}?{}'.format(url, params))
  print(conn.read())
  #print(conn.info())
  
  
  # Supporter Coding
  # Force Update for 1 month since 1 oct 2020
  try:
      updateSource = 'source "'+projectDir.replace('\\','/') + '/BRS_DragNDrop_Update.mel' + '";'
      mel.eval(updateSource)
  except:
      pass