Fixed install-packages script