Switched to curl instead of wget