Comments in profiles, log file error checking