Use curl instead of metadata lookup tool