minor fixes and install scripts