Updated the logging to be consistent

Updated scripts to use the log function for consistency.