Fixed bug in install script so log directories are now created