fixed error logging of local install scripts