install script and cleaning used lib names