--- scripts/bp-analyze.pl	2010-06-18 16:57:34.000000000 -0400
+++ scripts/bp-analyze.pl	2010-07-30 20:37:50.000000000 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w 
+#!/usr/bin/env perl -w 
 
 # TODO
 
--- scripts/compare-runs.R	2010-06-18 16:57:34.000000000 -0400
+++ scripts/compare-runs.R	2010-07-30 20:38:22.000000000 -0400
@@ -1,3 +1,5 @@
+#!/usr/bin/env R CMD BATCH
+
 # read filename from the command line
 args = commandArgs(trailingOnly=T)
 filename = args[1]
--- scripts/fixedpt-alignment-distances	2010-06-18 16:57:34.000000000 -0400
+++ scripts/fixedpt-alignment-distances	2010-07-30 20:39:19.000000000 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 #
 # Program calculates the distance between a given (MAP) alignment and all alignments in 
--- scripts/pairwise-alignment-distances	2010-06-18 16:57:34.000000000 -0400
+++ scripts/pairwise-alignment-distances	2010-07-30 20:39:27.000000000 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 #
 # Program finds the posterior sample alignment that has the minimum average distance to all other samples.
--- scripts/plot-path-graph.R	2010-06-18 16:57:34.000000000 -0400
+++ scripts/plot-path-graph.R	2010-07-30 20:38:41.000000000 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/R CMD BATCH
+#!/usr/bin/env R CMD BATCH
 
 Rreverse = function(x) {
   tmp =c(1:length(x))
