fixing bad environment for default pull from non-github source.
adding TODO to handle form content as well as json.
removing print r messages.