Weirdness in script, '==' gave error, '=' works.  odd, worked for a long time