changed curl to wget for adding packages