Updated and refactored to make loops more obvious, make sure ACCUREV_BIN is preferred over accurev.bin environment variable
Remove syntax/noise in master log
Fix environment put so that it works and is quiet