Added log file. Worked on SQL script. Added client templates