modifed provrequests to deal with ssl, and changed enviroments: