Added basic uploader logic.