Finally got the upload subs inside editor fully working