minor changes to installation script and resource cleanup