Moved Upload Button Code

Moved Upload Button Code