Added directory and log