added patch for shebangs