Modified logging system - no longer uses log.sh