add web function for easy uploading