add support for multiple upload
'secure' config setting configurable on heroku