- fixing bug with opening log files

- fixing bug that prevented directory changes from being picked up