script for upload to mymemory