Removed unsupported wget command and replaced it with curl.