It would be nice to have 3 things. 1) a more powerful substituteInPlace, ie a regexInPlace. 2) "patchShebangs" for arbitrary strings in a file 3) Have an nix API for automation. A program can drive Nix. /sjm