use bash/curl