Change location of log file
Add analytics code