Uploader script, work in progress