Fix the generated sh

I still have not run this.