fix loggly configuration script (workaround)