trying to get around permission issues and creating log file