upload files script fix 3