Minor changes

-Upload-function validated
-changed filetype to png