download files and set executable to fix error

useful script, I needed these small changes to get it to run though