Added file logging to install scripts