added AS3 upload code and heroku credentials