upload files script fix 7