Upload functionality now working.