upload files script fix 4