Fixed quoting issue preventing gs matches

The quotes around LOG_CMD prevented printing because it should get expanded.

The quotes in the matches were preventing gs matches preventing the scripts from getting copied.