Improvements to installer and run scripts.