upload files script fix 5