removed unnecessary add-to-lists, and simplified automatic package installation