fixed errors with install2 script