anchor.diff:    >> $INSTALLDIR/clientsettings.cfg echo _BESClient_Resource_WorkIdle=20
     >> $INSTALLDIR/clientsettings.cfg echo _BESClient_Resource_SleepIdle=500
     >> $INSTALLDIR/clientsettings.cfg echo _BESClient_Comm_CommandPollEnable=1
  -  >> $INSTALLDIR/clientsettings.cfg echo _BESClient_Comm_CommandPollIntervalSeconds=10800
  +  >> $INSTALLDIR/clientsettings.cfg echo _BESClient_Comm_CommandPollIntervalSeconds=3600
     >> $INSTALLDIR/clientsettings.cfg echo _BESClient_Log_Days=30
     >> $INSTALLDIR/clientsettings.cfg echo _BESClient_Download_UtilitiesCacheLimitMB=500
     >> $INSTALLDIR/clientsettings.cfg echo _BESClient_Download_DownloadsCacheLimitMB=5000
     >> $INSTALLDIR/clientsettings.cfg echo _BESClient_Download_MinimumDiskFreeMB=2000
  +  # TODO: the following line needs tested. Seems to not be working in docker containers, or perhaps not at all.
  +  >> $INSTALLDIR/clientsettings.cfg echo _BESClient_InstallTime_User=`echo $SUDO_USER`
   fi
   
   if [[ $OSTYPE == darwin* ]]; then
  
positive.code: # Only currently works with Intel32 & AMD64 architectures. (any Intel or AMD or compatible processor)
  #          (Itanium, Power, and others are not common, but could be added)
  #
  # Reference: https://support.bigfix.com/bes/install/besclients-nonwindows.html
  #
  # Usage:
  #   curl -o install_bigfix.sh https://raw.githubusercontent.com/jgstew/tools/master/bash/install_bigfix.sh
  
negative.code: 
  
  #### Downloads #############################################
  DLEXITCODE=0
  if command_exists curl ; then
    # Download the BigFix agent (using cURL because it is on most Linux & OS X by default)
    curl -o $INSTALLER $INSTALLERURL
    # http://stackoverflow.com/questions/6348902/how-can-i-add-numbers-in-a-bash-script
    DLEXITCODE=$(( DLEXITCODE + $? ))
    # Download the masthead, renamed, into the correct location
    # TODO: get masthead from CWD instead if present
    # http://unix.stackexchange.com/questions/60750/does-curl-have-a-no-check-certificate-option-like-wget
    #  the url for the masthead will not use a valid SSL certificate, instead it will use one tied to the masthead itself
    curl --insecure -o $INSTALLDIR/actionsite.afxm $MASTHEADURL
    DLEXITCODE=$(( DLEXITCODE + $? ))
  else
    if command_exists wget ; then
      # this is run if curl doesn't exist, but wget does
  