pass correct script path to sed

closes #1