no longer using curl from command line. now using python's request lib.