Fixed error handling for log file.
Set version 1.5.1.
Imported latest update profiles.