Script now uploads files without the 'uploaded' file