Add chmod +x to file after it has been overwritten.... Duh