Updated upload.lua again to fix the put keyword