Removed the need for wget by using curl instead